package home.dao;

import home.model.Goods;
import home.model.Logs;

import java.util.List;

public interface LogDao {
	public List<Logs> getAllLog(String type);
	public boolean deleteLogById(int id);
	public Logs findById(int id);
	public List findByOneProperty(String className,String property,Object value);
	public boolean saveLog(Logs log);
    public List<Goods> queryForPage(final String hql,final int offset,final int length);
    public int getAllRowCount(String hql);
}
